<admintpl file="header_adminlte" />
</head>
<body>
	<div class="row  js-check-wrap">
		<div class="col-xs-12">
			<ul class="nav nav-tabs" style="margin-bottom:10px;">
				<li>
					<a href="{:U('Weibo/AdminUser/index','status=all')}">全部用户</a>
				</li>
				<li>
					<a href="{:U('Weibo/AdminUser/index',array('status'=>'top','status_second'=>'weibo_desc'))}">风云人物</a>
				</li>
				<li>
					<a href="{:U('Weibo/AdminUser/index',array('status'=>'verify_yes','status_second'=>'verfiy_personal'))}">已认证</a>
				</li>
				<li>
					<a href="{:U('Weibo/AdminUser/index','status=verify_no')}">未认证</a>
				</li>
				<li>
					<a href="{:U('Weibo/AdminUser/index','status=disabled')}">已停用</a>
				</li>
				<li class="active">
					<a href="{:U('Weibo/AdminUser/details')}">用户详情</a>
				</li>
			</ul>
			
			<div class="box-body table-responsive no-padding">

					
						<!--微博用户资料/start-->
						<div class="col-md-4">

							<div class="box box-success">
							            	<div class="box-header">
									<h3 class="box-title">微博用户资料</h3>
								</div>
								<div class="box-body">
									<div class="form-group">
										<label>微博用户名称</label>
										<input type="text" class="form-control" value="{$userlist.nickname}" disabled="">
										<p class="help-block">注：微博用户名称唯一的。</p>
									</div>
									<!-- /.form group -->

									<div class="form-group">
										<label>用户介绍或认证说明</label>
										<textarea class="form-control" rows="3" disabled="">{$userlist.introduction}</textarea>
									</div>
									<!-- /.form group -->

									<div class="form-group">
										<label>发表微博数</label>
										<input type="text" class="form-control" value="{$userlist.weibo_count}" disabled="">
									</div>
									<!-- /.form group -->

									<div class="form-group">
										<label>关注数</label>
										<input type="text" class="form-control" value="{$userlist.follow_count}" disabled="">
									</div>
									<!-- /.form group -->

									<div class="form-group">
										<label>粉丝数</label>
										<input type="text" class="form-control" value="{$userlist.fans_count}" disabled="">
									</div>
									<!-- /.form group -->

									<div class="form-group">
										<label>认证情况</label>
										<if condition="($userlist.verify eq 0) ">
											<input type="text" class="form-control" value="普通用户" disabled="">
										<elseif condition="($userlist.verify eq 1) " />
											<input type="text" class="form-control" value="个人" disabled="">
										<elseif condition="($userlist.verify eq 2) " />
											<input type="text" class="form-control" value="机构" disabled="">
										<elseif condition="($userlist.verify eq 3) " />
											<input type="text" class="form-control" value="主持人" disabled="">
										</if>
									</div>
									<!-- /.form group -->

									<div class="form-group">
										<label>最后活跃时间</label>
										<input type="text" class="form-control" value="{$userlist['activity_time']|date="Y-m-d H:i:s",###}" disabled="">
									</div>
									<!-- /.form group -->

									<div class="box-footer">
										<if condition="$userlist.status eq 1">
											<a href="{:U('AdminUser/disable',array('user_id'=>$userlist['user_id']))}" class="btn btn-danger js-ajax-dialog-btn" data-msg="您确定要停用该微博用户吗？">停用</a>
										<else />
											<a href="{:U('AdminUser/enable',array('user_id'=>$userlist['user_id']))}" class="btn btn-danger js-ajax-dialog-btn" data-msg="您确定要启用该微博用户吗？">启用</a>
										</if>

									</div>
								</div>
							</div>
						</div>
						<!--微博用户资料/end-->

						<!--我的好友/start-->
						<div class="col-md-2">

							<div class="box box-warning">
							            	<div class="box-header">
									<h3 class="box-title">我的好友</h3>
								</div>
								<div class="box-body">
									<table class="table">
										<foreach  name="myfriends" item="myfriends">
										<tr>
											<td>{$key+1}</td>
											<td><a href="{:U('AdminUser/details',array('user_id'=>$myfriends['user_id']))}" target="_blank">{$myfriends.nickname}</a></td>
										</tr>
										</foreach>
									</table>
									
								</div>
							</div>
						</div>
						<!--我的好友/end-->

						<!--我关注的/start-->
						<div class="col-md-2">

							<div class="box box-dangers">
							            	<div class="box-header">
									<h3 class="box-title">我关注的</h3>
								</div>
								<div class="box-body">
									<table class="table">
										<foreach  name="follow_other" item="follow_other">
										<tr>
											<td>{$key+1}</td>
											<td><a href="{:U('AdminUser/details',array('user_id'=>$follow_other['follow']))}" target="_blank">{$follow_other.nickname}</a></td>
										</tr>
										</foreach>
									</table>
								</div>
							</div>
						</div>
						<!--我关注的/end-->

						<!--我的粉丝/start-->
						<div class="col-md-2">

							<div class="box box-info">
							            	<div class="box-header">
									<h3 class="box-title">我的粉丝</h3>
								</div>
								<div class="box-body">
									<table class="table">
										<foreach  name="follow_me" item="follow_me">
										<tr>
											<td>{$key+1}</td>
											<td><a href="{:U('AdminUser/details',array('user_id'=>$follow_me['user_id']))}" target="_blank">{$follow_me.nickname}</a></td>
										</tr>
										</foreach>
									</table>
									
								</div>
							</div>
						</div>
						<!--我的粉丝/end-->

						<!--我的黑名单/start-->
						<div class="col-md-2">

							<div class="box box-primary">
							            	<div class="box-header">
									<h3 class="box-title">我的黑名单</h3>
								</div>
								<div class="box-body">
									<table class="table">
										<foreach  name="black_list" item="black_list">
										<tr>
											<td>{$key+1}</td>
											<td><a href="{:U('AdminUser/details',array('user_id'=>$black_list['user_id']))}" target="_blank">{$black_list.nickname}</a></td>
										</tr>
										</foreach>
									</table>
									
								</div>
							</div>
						</div>
						<!--我的黑名单/end-->
					
				</div>
		</div>
	</div>
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
</body>
</html>